package lily.phs.vaccination.test;

import android.database.Cursor;
import android.test.InstrumentationTestCase;
import android.widget.EditText;
import lily.phs.database.Constants;
import lily.phs.object.VaccinationRecord;
import lily.phs.urh.R;
import lily.phs.vaccination.VaccinationRecordView;

public class testVaccinationRecordView extends InstrumentationTestCase implements Constants{
	private EditText et_vare_name,et_vare_profile_id,
					vare_hepatitis_b_vaccine1_date,vare_hepatitis_b_vaccine1_position,vare_hepatitis_b_vaccine1_batch_num,
					vare_hepatitis_b_vaccine1_doctor,vare_hepatitis_b_vaccine1_remark,
					vare_hepatitis_b_vaccine2_date,vare_hepatitis_b_vaccine2_position,vare_hepatitis_b_vaccine2_batch_num,
					vare_hepatitis_b_vaccine2_doctor,vare_hepatitis_b_vaccine2_remark,
					vare_hepatitis_b_vaccine3_date,vare_hepatitis_b_vaccine3_position,vare_hepatitis_b_vaccine3_batch_num,
					vare_hepatitis_b_vaccine3_doctor,vare_hepatitis_b_vaccine3_remark,
					vare_BCG_vaccine_date,vare_BCG_vaccine_position,vare_BCG_vaccine_batch_num,vare_BCG_vaccine_doctor,vare_BCG_vaccine_remark,
					vare_poliomyelitis_vaccine1_date,vare_poliomyelitis_vaccine1_position,vare_poliomyelitis_vaccine1_batch_num,
					vare_poliomyelitis_vaccine1_doctor,vare_poliomyelitis_vaccine1_remark,
					vare_poliomyelitis_vaccine2_date,vare_poliomyelitis_vaccine2_position,vare_poliomyelitis_vaccine2_batch_num,
					vare_poliomyelitis_vaccine2_doctor,vare_poliomyelitis_vaccine2_remark,
					vare_poliomyelitis_vaccine3_date,vare_poliomyelitis_vaccine3_position,vare_poliomyelitis_vaccine3_batch_num,
					vare_poliomyelitis_vaccine3_doctor,vare_poliomyelitis_vaccine3_remark,
					vare_poliomyelitis_vaccine4_date,vare_poliomyelitis_vaccine4_position,vare_poliomyelitis_vaccine4_batch_num,
					vare_poliomyelitis_vaccine4_doctor,vare_poliomyelitis_vaccine4_remark,
					
					vare_DPT1_date,vare_DPT1_position,vare_DPT1_batch_num,vare_DPT1_doctor,vare_DPT1_remark,
					vare_DPT2_date,vare_DPT2_position,vare_DPT2_batch_num,vare_DPT2_doctor,vare_DPT2_remark,
					vare_DPT3_date,vare_DPT3_position,vare_DPT3_batch_num,vare_DPT3_doctor,vare_DPT3_remark,
					vare_DPT4_date,vare_DPT4_position,vare_DPT4_batch_num,vare_DPT4_doctor,vare_DPT4_remark,
					vare_white_broken_vaccine_date,vare_white_broken_vaccine_position,vare_white_broken_vaccine_batch_num,
					vare_white_broken_vaccine_doctor,vare_white_broken_vaccine_remark,
					vare_leprosy_vaccine_date,vare_leprosy_vaccine_position,vare_leprosy_vaccine_batch_num,
					vare_leprosy_vaccine_doctor,vare_leprosy_vaccine_remark,
					vare_MMR_vaccine1_date,vare_MMR_vaccine1_position,vare_MMR_vaccine1_batch_num,vare_MMR_vaccine1_doctor,vare_MMR_vaccine1_remark,
					vare_MMR_vaccine2_date,vare_MMR_vaccine2_position,vare_MMR_vaccine2_batch_num,vare_MMR_vaccine2_doctor,vare_MMR_vaccine2_remark,
					vare_MMR_vaccine_date,vare_MMR_vaccine_position,vare_MMR_vaccine_batch_num,vare_MMR_vaccine_doctor,vare_MMR_vaccine_remark,
					vare_measles_vaccine1_date,vare_measles_vaccine1_position,vare_measles_vaccine1_batch_num,
					vare_measles_vaccine1_doctor,vare_measles_vaccine1_remark,
					vare_measles_vaccine2_date,vare_measles_vaccine2_position,vare_measles_vaccine2_batch_num,
					vare_measles_vaccine2_doctor,vare_measles_vaccine2_remark;
			VaccinationRecordView v;
	public void setUp(){
		VaccinationRecord vr=new VaccinationRecord(getInstrumentation().getContext());
		vr.setVare_profile_id(1234);
		vr.insertVaccinationRecord();
		v=new VaccinationRecordView(getInstrumentation().getContext(),1234);
		v.findWidget();
		v.addToView();
		et_vare_name=(EditText)v.findViewById(R.id.et_vare_name);
		et_vare_profile_id=(EditText)v.findViewById(R.id.et_vare_profile_id);
		vare_hepatitis_b_vaccine1_date=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine1_date);
		vare_hepatitis_b_vaccine1_position=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine1_position);
		vare_hepatitis_b_vaccine1_batch_num=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine1_batch_num);
		vare_hepatitis_b_vaccine1_doctor=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine1_doctor);
		vare_hepatitis_b_vaccine1_remark=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine1_remark);
		vare_hepatitis_b_vaccine2_date=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine2_date);
		vare_hepatitis_b_vaccine2_position=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine2_position);
		vare_hepatitis_b_vaccine2_batch_num=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine2_batch_num);
		vare_hepatitis_b_vaccine2_doctor=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine2_doctor);
		vare_hepatitis_b_vaccine2_remark=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine2_remark);
		vare_hepatitis_b_vaccine3_date=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine3_date);
		vare_hepatitis_b_vaccine3_position=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine3_position);
		vare_hepatitis_b_vaccine3_batch_num=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine3_batch_num);
		vare_hepatitis_b_vaccine3_doctor=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine3_doctor);
		vare_hepatitis_b_vaccine3_remark=(EditText)v.findViewById(R.id.vare_hepatitis_b_vaccine3_remark);
		vare_BCG_vaccine_date=(EditText)v.findViewById(R.id.vare_BCG_vaccine_date);
		vare_BCG_vaccine_position=(EditText)v.findViewById(R.id.vare_BCG_vaccine_position);
		vare_BCG_vaccine_batch_num=(EditText)v.findViewById(R.id.vare_BCG_vaccine_batch_num);
		vare_BCG_vaccine_doctor=(EditText)v.findViewById(R.id.vare_BCG_vaccine_doctor);
		vare_BCG_vaccine_remark=(EditText)v.findViewById(R.id.vare_BCG_vaccine_remark);
		vare_poliomyelitis_vaccine1_date=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine1_date);
		vare_poliomyelitis_vaccine1_position=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine1_position);
		vare_poliomyelitis_vaccine1_batch_num=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine1_batch_num);
		vare_poliomyelitis_vaccine1_doctor=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine1_doctor);
		vare_poliomyelitis_vaccine1_remark=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine1_remark);
		vare_poliomyelitis_vaccine2_date=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine2_date);
		vare_poliomyelitis_vaccine2_position=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine2_position);
		vare_poliomyelitis_vaccine2_batch_num=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine2_batch_num);
		vare_poliomyelitis_vaccine2_doctor=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine2_doctor);
		vare_poliomyelitis_vaccine2_remark=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine2_remark);
		vare_poliomyelitis_vaccine3_date=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine3_date);
		vare_poliomyelitis_vaccine3_position=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine3_position);
		vare_poliomyelitis_vaccine3_batch_num=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine3_batch_num);
		vare_poliomyelitis_vaccine3_doctor=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine3_doctor);
		vare_poliomyelitis_vaccine3_remark=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine3_remark);
		vare_poliomyelitis_vaccine4_date=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine4_date);
		vare_poliomyelitis_vaccine4_position=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine4_position);
		vare_poliomyelitis_vaccine4_batch_num=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine4_batch_num);
		vare_poliomyelitis_vaccine4_doctor=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine4_doctor);
		vare_poliomyelitis_vaccine4_remark=(EditText)v.findViewById(R.id.vare_poliomyelitis_vaccine4_remark);
		vare_DPT1_date=(EditText)v.findViewById(R.id.vare_DPT1_date);
		vare_DPT1_position=(EditText)v.findViewById(R.id.vare_DPT1_position);
		vare_DPT1_batch_num=(EditText)v.findViewById(R.id.vare_DPT1_batch_num);
		vare_DPT1_doctor=(EditText)v.findViewById(R.id.vare_DPT1_doctor);
		vare_DPT1_remark=(EditText)v.findViewById(R.id.vare_DPT1_remark);
		vare_DPT2_date=(EditText)v.findViewById(R.id.vare_DPT2_date);
		vare_DPT2_position=(EditText)v.findViewById(R.id.vare_DPT2_position);
		vare_DPT2_batch_num=(EditText)v.findViewById(R.id.vare_DPT2_batch_num);
		vare_DPT2_doctor=(EditText)v.findViewById(R.id.vare_DPT2_doctor);
		vare_DPT2_remark=(EditText)v.findViewById(R.id.vare_DPT2_remark);
		vare_DPT3_date=(EditText)v.findViewById(R.id.vare_DPT3_date);
		vare_DPT3_position=(EditText)v.findViewById(R.id.vare_DPT3_position);
		vare_DPT3_batch_num=(EditText)v.findViewById(R.id.vare_DPT3_batch_num);
		vare_DPT3_doctor=(EditText)v.findViewById(R.id.vare_DPT3_doctor);
		vare_DPT3_remark=(EditText)v.findViewById(R.id.vare_DPT3_remark);
		vare_DPT4_date=(EditText)v.findViewById(R.id.vare_DPT4_date);
		vare_DPT4_position=(EditText)v.findViewById(R.id.vare_DPT4_position);
		vare_DPT4_batch_num=(EditText)v.findViewById(R.id.vare_DPT4_batch_num);
		vare_DPT4_doctor=(EditText)v.findViewById(R.id.vare_DPT4_doctor);
		vare_DPT4_remark=(EditText)v.findViewById(R.id.vare_DPT4_remark);
		vare_white_broken_vaccine_date=(EditText)v.findViewById(R.id.vare_white_broken_vaccine_date);
		vare_white_broken_vaccine_position=(EditText)v.findViewById(R.id.vare_white_broken_vaccine_position);
		vare_white_broken_vaccine_batch_num=(EditText)v.findViewById(R.id.vare_white_broken_vaccine_batch_num);
		vare_white_broken_vaccine_doctor=(EditText)v.findViewById(R.id.vare_white_broken_vaccine_doctor);
		vare_white_broken_vaccine_remark=(EditText)v.findViewById(R.id.vare_white_broken_vaccine_remark);
		vare_leprosy_vaccine_date=(EditText)v.findViewById(R.id.vare_leprosy_vaccine_date);
		vare_leprosy_vaccine_position=(EditText)v.findViewById(R.id.vare_leprosy_vaccine_position);
		vare_leprosy_vaccine_batch_num=(EditText)v.findViewById(R.id.vare_leprosy_vaccine_batch_num);
		vare_leprosy_vaccine_doctor=(EditText)v.findViewById(R.id.vare_leprosy_vaccine_doctor);
		vare_leprosy_vaccine_remark=(EditText)v.findViewById(R.id.vare_leprosy_vaccine_remark);
		vare_MMR_vaccine1_date=(EditText)v.findViewById(R.id.vare_MMR_vaccine1_date);
		vare_MMR_vaccine1_position=(EditText)v.findViewById(R.id.vare_MMR_vaccine1_position);
		vare_MMR_vaccine1_batch_num=(EditText)v.findViewById(R.id.vare_MMR_vaccine1_batch_num);
		vare_MMR_vaccine1_doctor=(EditText)v.findViewById(R.id.vare_MMR_vaccine1_doctor);
		vare_MMR_vaccine1_remark=(EditText)v.findViewById(R.id.vare_MMR_vaccine1_remark);
		vare_MMR_vaccine2_date=(EditText)v.findViewById(R.id.vare_MMR_vaccine2_date);
		vare_MMR_vaccine2_position=(EditText)v.findViewById(R.id.vare_MMR_vaccine2_position);
		vare_MMR_vaccine2_batch_num=(EditText)v.findViewById(R.id.vare_MMR_vaccine2_batch_num);
		vare_MMR_vaccine2_doctor=(EditText)v.findViewById(R.id.vare_MMR_vaccine2_doctor);
		vare_MMR_vaccine2_remark=(EditText)v.findViewById(R.id.vare_MMR_vaccine2_remark);
		vare_MMR_vaccine_date=(EditText)v.findViewById(R.id.vare_MMR_vaccine_date);
		vare_MMR_vaccine_position=(EditText)v.findViewById(R.id.vare_MMR_vaccine_position);
		vare_MMR_vaccine_batch_num=(EditText)v.findViewById(R.id.vare_MMR_vaccine_batch_num);
		vare_MMR_vaccine_doctor=(EditText)v.findViewById(R.id.vare_MMR_vaccine_doctor);
		vare_MMR_vaccine_remark=(EditText)v.findViewById(R.id.vare_MMR_vaccine_remark);
		vare_measles_vaccine1_date=(EditText)v.findViewById(R.id.vare_measles_vaccine1_date);
		vare_measles_vaccine1_position=(EditText)v.findViewById(R.id.vare_measles_vaccine1_position);
		vare_measles_vaccine1_batch_num=(EditText)v.findViewById(R.id.vare_measles_vaccine1_batch_num);
		vare_measles_vaccine1_doctor=(EditText)v.findViewById(R.id.vare_measles_vaccine1_doctor);
		vare_measles_vaccine1_remark=(EditText)v.findViewById(R.id.vare_measles_vaccine1_remark);
		vare_measles_vaccine2_date=(EditText)v.findViewById(R.id.vare_measles_vaccine2_date);
		vare_measles_vaccine2_position=(EditText)v.findViewById(R.id.vare_measles_vaccine2_position);
		vare_measles_vaccine2_batch_num=(EditText)v.findViewById(R.id.vare_measles_vaccine2_batch_num);
		vare_measles_vaccine2_doctor=(EditText)v.findViewById(R.id.vare_measles_vaccine2_doctor);
		vare_measles_vaccine2_remark=(EditText)v.findViewById(R.id.vare_measles_vaccine2_remark);
	}
	public void testData(){
		 Cursor cursor=getInstrumentation().getContext().getContentResolver().query(CONTENT_URI_TB22, null,
				 		VARE_PROFILE_ID + "=" + 1234 + "", null, null);
		 assertEquals(1,cursor.getCount());
		// cursor.close();
	 }
	public void testEditText(){
		v.selectData();
		v.initVaccinationRecordView();
		assertEquals(vare_hepatitis_b_vaccine1_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_date.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_position.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_remark.getText().toString(),"");
		assertEquals(vare_DPT1_date.getText().toString(),"");
		assertEquals(vare_DPT1_position.getText().toString(),"");
		assertEquals(vare_DPT1_batch_num.getText().toString(),"");
		assertEquals(vare_DPT1_doctor.getText().toString(),"");
		assertEquals(vare_DPT1_remark.getText().toString(),"");
		assertEquals(vare_DPT2_date.getText().toString(),"");
		assertEquals(vare_DPT2_position.getText().toString(),"");
		assertEquals(vare_DPT2_batch_num.getText().toString(),"");
		assertEquals(vare_DPT2_doctor.getText().toString(),"");
		assertEquals(vare_DPT2_remark.getText().toString(),"");
		assertEquals(vare_DPT3_date.getText().toString(),"");
		assertEquals(vare_DPT3_position.getText().toString(),"");
		assertEquals(vare_DPT3_batch_num.getText().toString(),"");
		assertEquals(vare_DPT3_doctor.getText().toString(),"");
		assertEquals(vare_DPT3_remark.getText().toString(),"");
		assertEquals(vare_DPT4_date.getText().toString(),"");
		assertEquals(vare_DPT4_position.getText().toString(),"");
		assertEquals(vare_DPT4_batch_num.getText().toString(),"");
		assertEquals(vare_DPT4_doctor.getText().toString(),"");
		assertEquals(vare_DPT4_remark.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_date.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_position.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_remark.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_date.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_position.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_position.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_remark.getText().toString(),"");
		v.saveVaccinationRecordView();
		v.selectData();
		v.initVaccinationRecordView();
		assertEquals(vare_hepatitis_b_vaccine1_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_date.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_position.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_remark.getText().toString(),"");
		assertEquals(vare_DPT1_date.getText().toString(),"");
		assertEquals(vare_DPT1_position.getText().toString(),"");
		assertEquals(vare_DPT1_batch_num.getText().toString(),"");
		assertEquals(vare_DPT1_doctor.getText().toString(),"");
		assertEquals(vare_DPT1_remark.getText().toString(),"");
		assertEquals(vare_DPT2_date.getText().toString(),"");
		assertEquals(vare_DPT2_position.getText().toString(),"");
		assertEquals(vare_DPT2_batch_num.getText().toString(),"");
		assertEquals(vare_DPT2_doctor.getText().toString(),"");
		assertEquals(vare_DPT2_remark.getText().toString(),"");
		assertEquals(vare_DPT3_date.getText().toString(),"");
		assertEquals(vare_DPT3_position.getText().toString(),"");
		assertEquals(vare_DPT3_batch_num.getText().toString(),"");
		assertEquals(vare_DPT3_doctor.getText().toString(),"");
		assertEquals(vare_DPT3_remark.getText().toString(),"");
		assertEquals(vare_DPT4_date.getText().toString(),"");
		assertEquals(vare_DPT4_position.getText().toString(),"");
		assertEquals(vare_DPT4_batch_num.getText().toString(),"");
		assertEquals(vare_DPT4_doctor.getText().toString(),"");
		assertEquals(vare_DPT4_remark.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_date.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_position.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_remark.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_date.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_position.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_position.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_remark.getText().toString(),"");
		
		vare_hepatitis_b_vaccine1_date.setText("1");
		vare_hepatitis_b_vaccine1_position.setText("1");
		vare_hepatitis_b_vaccine1_batch_num.setText("1");
		vare_hepatitis_b_vaccine1_doctor.setText("1");
		vare_hepatitis_b_vaccine1_remark.setText("1");
		vare_hepatitis_b_vaccine2_date.setText("1");
		vare_hepatitis_b_vaccine2_position.setText("1");
		vare_hepatitis_b_vaccine2_batch_num.setText("1");
		vare_hepatitis_b_vaccine2_doctor.setText("1");
		vare_hepatitis_b_vaccine2_remark.setText("1");
		vare_hepatitis_b_vaccine3_date.setText("1");
		vare_hepatitis_b_vaccine3_position.setText("1");
		vare_hepatitis_b_vaccine3_batch_num.setText("1");
		vare_hepatitis_b_vaccine3_doctor.setText("1");
		vare_hepatitis_b_vaccine3_remark.setText("1");
		vare_BCG_vaccine_date.setText("1");
		vare_BCG_vaccine_position.setText("1");
		vare_BCG_vaccine_batch_num.setText("1");
		vare_BCG_vaccine_doctor.setText("1");
		vare_BCG_vaccine_remark.setText("1");
		vare_poliomyelitis_vaccine1_date.setText("1");
		vare_poliomyelitis_vaccine1_position.setText("1");
		vare_poliomyelitis_vaccine1_batch_num.setText("1");
		vare_poliomyelitis_vaccine1_doctor.setText("1");
		vare_poliomyelitis_vaccine1_remark.setText("1");
		vare_poliomyelitis_vaccine2_date.setText("1");
		vare_poliomyelitis_vaccine2_position.setText("1");
		vare_poliomyelitis_vaccine2_batch_num.setText("1");
		vare_poliomyelitis_vaccine2_doctor.setText("1");
		vare_poliomyelitis_vaccine2_remark.setText("1");
		vare_poliomyelitis_vaccine3_date.setText("1");
		vare_poliomyelitis_vaccine3_position.setText("1");
		vare_poliomyelitis_vaccine3_batch_num.setText("1");
		vare_poliomyelitis_vaccine3_doctor.setText("1");
		vare_poliomyelitis_vaccine3_remark.setText("1");
		vare_poliomyelitis_vaccine4_date.setText("1");
		vare_poliomyelitis_vaccine4_position.setText("1");
		vare_poliomyelitis_vaccine4_batch_num.setText("1");
		vare_poliomyelitis_vaccine4_doctor.setText("1");
		vare_poliomyelitis_vaccine4_remark.setText("1");
		vare_DPT1_date.setText("1");
		vare_DPT1_position.setText("1");
		vare_DPT1_batch_num.setText("1");
		vare_DPT1_doctor.setText("1");
		vare_DPT1_remark.setText("1");
		vare_DPT2_date.setText("1");
		vare_DPT2_position.setText("1");
		vare_DPT2_batch_num.setText("1");
		vare_DPT2_doctor.setText("1");
		vare_DPT2_remark.setText("1");
		vare_DPT3_date.setText("1");
		vare_DPT3_position.setText("1");
		vare_DPT3_batch_num.setText("1");
		vare_DPT3_doctor.setText("1");
		vare_DPT3_remark.setText("1");
		vare_DPT4_date.setText("1");
		vare_DPT4_position.setText("1");
		vare_DPT4_batch_num.setText("1");
		vare_DPT4_doctor.setText("1");
		vare_DPT4_remark.setText("1");
		vare_white_broken_vaccine_date.setText("1");
		vare_white_broken_vaccine_position.setText("1");
		vare_white_broken_vaccine_batch_num.setText("1");
		vare_white_broken_vaccine_doctor.setText("1");
		vare_white_broken_vaccine_remark.setText("1");
		vare_leprosy_vaccine_date.setText("1");
		vare_leprosy_vaccine_position.setText("1");
		vare_leprosy_vaccine_batch_num.setText("1");
		vare_leprosy_vaccine_doctor.setText("1");
		vare_leprosy_vaccine_remark.setText("1");
		vare_MMR_vaccine1_date.setText("1");
		vare_MMR_vaccine1_position.setText("1");
		vare_MMR_vaccine1_batch_num.setText("1");
		vare_MMR_vaccine1_doctor.setText("1");
		vare_MMR_vaccine1_remark.setText("1");
		vare_MMR_vaccine2_date.setText("1");
		vare_MMR_vaccine2_position.setText("1");
		vare_MMR_vaccine2_batch_num.setText("1");
		vare_MMR_vaccine2_doctor.setText("1");
		vare_MMR_vaccine2_remark.setText("1");
		vare_MMR_vaccine_date.setText("1");
		vare_MMR_vaccine_position.setText("1");
		vare_MMR_vaccine_batch_num.setText("1");
		vare_MMR_vaccine_doctor.setText("1");
		vare_MMR_vaccine_remark.setText("1");
		vare_measles_vaccine1_date.setText("1");
		vare_measles_vaccine1_position.setText("1");
		vare_measles_vaccine1_batch_num.setText("1");
		vare_measles_vaccine1_doctor.setText("1");
		vare_measles_vaccine1_remark.setText("1");
		vare_measles_vaccine2_date.setText("1");
		vare_measles_vaccine2_position.setText("1");
		vare_measles_vaccine2_batch_num.setText("1");
		vare_measles_vaccine2_doctor.setText("1");
		vare_measles_vaccine2_remark.setText("1");
		v.saveVaccinationRecordView();
		vare_hepatitis_b_vaccine1_date.setText("");
		vare_hepatitis_b_vaccine1_position.setText("");
		vare_hepatitis_b_vaccine1_batch_num.setText("");
		vare_hepatitis_b_vaccine1_doctor.setText("");
		vare_hepatitis_b_vaccine1_remark.setText("");
		vare_hepatitis_b_vaccine2_date.setText("");
		vare_hepatitis_b_vaccine2_position.setText("");
		vare_hepatitis_b_vaccine2_batch_num.setText("");
		vare_hepatitis_b_vaccine2_doctor.setText("");
		vare_hepatitis_b_vaccine2_remark.setText("");
		vare_hepatitis_b_vaccine3_date.setText("");
		vare_hepatitis_b_vaccine3_position.setText("");
		vare_hepatitis_b_vaccine3_batch_num.setText("");
		vare_hepatitis_b_vaccine3_doctor.setText("");
		vare_hepatitis_b_vaccine3_remark.setText("");
		vare_BCG_vaccine_date.setText("");
		vare_BCG_vaccine_position.setText("");
		vare_BCG_vaccine_batch_num.setText("");
		vare_BCG_vaccine_doctor.setText("");
		vare_BCG_vaccine_remark.setText("");
		vare_poliomyelitis_vaccine1_date.setText("");
		vare_poliomyelitis_vaccine1_position.setText("");
		vare_poliomyelitis_vaccine1_batch_num.setText("");
		vare_poliomyelitis_vaccine1_doctor.setText("");
		vare_poliomyelitis_vaccine1_remark.setText("");
		vare_poliomyelitis_vaccine2_date.setText("");
		vare_poliomyelitis_vaccine2_position.setText("");
		vare_poliomyelitis_vaccine2_batch_num.setText("");
		vare_poliomyelitis_vaccine2_doctor.setText("");
		vare_poliomyelitis_vaccine2_remark.setText("");
		vare_poliomyelitis_vaccine3_date.setText("");
		vare_poliomyelitis_vaccine3_position.setText("");
		vare_poliomyelitis_vaccine3_batch_num.setText("");
		vare_poliomyelitis_vaccine3_doctor.setText("");
		vare_poliomyelitis_vaccine3_remark.setText("");
		vare_poliomyelitis_vaccine4_date.setText("");
		vare_poliomyelitis_vaccine4_position.setText("");
		vare_poliomyelitis_vaccine4_batch_num.setText("");
		vare_poliomyelitis_vaccine4_doctor.setText("");
		vare_poliomyelitis_vaccine4_remark.setText("");
		vare_DPT1_date.setText("");
		vare_DPT1_position.setText("");
		vare_DPT1_batch_num.setText("");
		vare_DPT1_doctor.setText("");
		vare_DPT1_remark.setText("");
		vare_DPT2_date.setText("");
		vare_DPT2_position.setText("");
		vare_DPT2_batch_num.setText("");
		vare_DPT2_doctor.setText("");
		vare_DPT2_remark.setText("");
		vare_DPT3_date.setText("");
		vare_DPT3_position.setText("");
		vare_DPT3_batch_num.setText("");
		vare_DPT3_doctor.setText("");
		vare_DPT3_remark.setText("");
		vare_DPT4_date.setText("");
		vare_DPT4_position.setText("");
		vare_DPT4_batch_num.setText("");
		vare_DPT4_doctor.setText("");
		vare_DPT4_remark.setText("");
		vare_white_broken_vaccine_date.setText("");
		vare_white_broken_vaccine_position.setText("");
		vare_white_broken_vaccine_batch_num.setText("");
		vare_white_broken_vaccine_doctor.setText("");
		vare_white_broken_vaccine_remark.setText("");
		vare_leprosy_vaccine_date.setText("");
		vare_leprosy_vaccine_position.setText("");
		vare_leprosy_vaccine_batch_num.setText("");
		vare_leprosy_vaccine_doctor.setText("");
		vare_leprosy_vaccine_remark.setText("");
		vare_MMR_vaccine1_date.setText("");
		vare_MMR_vaccine1_position.setText("");
		vare_MMR_vaccine1_batch_num.setText("");
		vare_MMR_vaccine1_doctor.setText("");
		vare_MMR_vaccine1_remark.setText("");
		vare_MMR_vaccine2_date.setText("");
		vare_MMR_vaccine2_position.setText("");
		vare_MMR_vaccine2_batch_num.setText("");
		vare_MMR_vaccine2_doctor.setText("");
		vare_MMR_vaccine2_remark.setText("");
		vare_MMR_vaccine_date.setText("");
		vare_MMR_vaccine_position.setText("");
		vare_MMR_vaccine_batch_num.setText("");
		vare_MMR_vaccine_doctor.setText("");
		vare_MMR_vaccine_remark.setText("");
		vare_measles_vaccine1_date.setText("");
		vare_measles_vaccine1_position.setText("");
		vare_measles_vaccine1_batch_num.setText("");
		vare_measles_vaccine1_doctor.setText("");
		vare_measles_vaccine1_remark.setText("");
		vare_measles_vaccine2_date.setText("");
		vare_measles_vaccine2_position.setText("");
		vare_measles_vaccine2_batch_num.setText("");
		vare_measles_vaccine2_doctor.setText("");
		vare_measles_vaccine2_remark.setText("");
		assertEquals(vare_hepatitis_b_vaccine1_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_date.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_position.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_remark.getText().toString(),"");
		assertEquals(vare_DPT1_date.getText().toString(),"");
		assertEquals(vare_DPT1_position.getText().toString(),"");
		assertEquals(vare_DPT1_batch_num.getText().toString(),"");
		assertEquals(vare_DPT1_doctor.getText().toString(),"");
		assertEquals(vare_DPT1_remark.getText().toString(),"");
		assertEquals(vare_DPT2_date.getText().toString(),"");
		assertEquals(vare_DPT2_position.getText().toString(),"");
		assertEquals(vare_DPT2_batch_num.getText().toString(),"");
		assertEquals(vare_DPT2_doctor.getText().toString(),"");
		assertEquals(vare_DPT2_remark.getText().toString(),"");
		assertEquals(vare_DPT3_date.getText().toString(),"");
		assertEquals(vare_DPT3_position.getText().toString(),"");
		assertEquals(vare_DPT3_batch_num.getText().toString(),"");
		assertEquals(vare_DPT3_doctor.getText().toString(),"");
		assertEquals(vare_DPT3_remark.getText().toString(),"");
		assertEquals(vare_DPT4_date.getText().toString(),"");
		assertEquals(vare_DPT4_position.getText().toString(),"");
		assertEquals(vare_DPT4_batch_num.getText().toString(),"");
		assertEquals(vare_DPT4_doctor.getText().toString(),"");
		assertEquals(vare_DPT4_remark.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_date.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_position.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_remark.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_date.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_position.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_position.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_remark.getText().toString(),"");
		v.selectData();
		v.initVaccinationRecordView();
		assertEquals(vare_hepatitis_b_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_position.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_remark.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_date.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_position.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_batch_num.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_doctor.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_remark.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_date.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_position.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_remark.getText().toString(),"1");
		assertEquals(vare_DPT1_date.getText().toString(),"1");
		assertEquals(vare_DPT1_position.getText().toString(),"1");
		assertEquals(vare_DPT1_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT1_doctor.getText().toString(),"1");
		assertEquals(vare_DPT1_remark.getText().toString(),"1");
		assertEquals(vare_DPT2_date.getText().toString(),"1");
		assertEquals(vare_DPT2_position.getText().toString(),"1");
		assertEquals(vare_DPT2_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT2_doctor.getText().toString(),"1");
		assertEquals(vare_DPT2_remark.getText().toString(),"1");
		assertEquals(vare_DPT3_date.getText().toString(),"1");
		assertEquals(vare_DPT3_position.getText().toString(),"1");
		assertEquals(vare_DPT3_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT3_doctor.getText().toString(),"1");
		assertEquals(vare_DPT3_remark.getText().toString(),"1");
		assertEquals(vare_DPT4_date.getText().toString(),"1");
		assertEquals(vare_DPT4_position.getText().toString(),"1");
		assertEquals(vare_DPT4_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT4_doctor.getText().toString(),"1");
		assertEquals(vare_DPT4_remark.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_date.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_position.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_date.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_position.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_position.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_remark.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_date.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_position.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_remark.getText().toString(),"1");
		vare_hepatitis_b_vaccine1_date.setText("1");
		vare_hepatitis_b_vaccine1_position.setText("1");
		vare_hepatitis_b_vaccine1_batch_num.setText("1");
		vare_hepatitis_b_vaccine1_doctor.setText("1");
		vare_hepatitis_b_vaccine1_remark.setText("1");
		vare_hepatitis_b_vaccine2_date.setText("1");
		vare_hepatitis_b_vaccine2_position.setText("1");
		vare_hepatitis_b_vaccine2_batch_num.setText("1");
		vare_hepatitis_b_vaccine2_doctor.setText("1");
		vare_hepatitis_b_vaccine2_remark.setText("1");
		vare_hepatitis_b_vaccine3_date.setText("1");
		vare_hepatitis_b_vaccine3_position.setText("1");
		vare_hepatitis_b_vaccine3_batch_num.setText("1");
		vare_hepatitis_b_vaccine3_doctor.setText("1");
		vare_hepatitis_b_vaccine3_remark.setText("1");
		vare_BCG_vaccine_date.setText("1");
		vare_BCG_vaccine_position.setText("1");
		vare_BCG_vaccine_batch_num.setText("1");
		vare_BCG_vaccine_doctor.setText("1");
		vare_BCG_vaccine_remark.setText("1");
		vare_poliomyelitis_vaccine1_date.setText("1");
		vare_poliomyelitis_vaccine1_position.setText("1");
		vare_poliomyelitis_vaccine1_batch_num.setText("1");
		vare_poliomyelitis_vaccine1_doctor.setText("1");
		vare_poliomyelitis_vaccine1_remark.setText("1");
		vare_poliomyelitis_vaccine2_date.setText("1");
		vare_poliomyelitis_vaccine2_position.setText("1");
		vare_poliomyelitis_vaccine2_batch_num.setText("1");
		vare_poliomyelitis_vaccine2_doctor.setText("1");
		vare_poliomyelitis_vaccine2_remark.setText("1");
		vare_poliomyelitis_vaccine3_date.setText("1");
		vare_poliomyelitis_vaccine3_position.setText("1");
		vare_poliomyelitis_vaccine3_batch_num.setText("1");
		vare_poliomyelitis_vaccine3_doctor.setText("1");
		vare_poliomyelitis_vaccine3_remark.setText("1");
		vare_poliomyelitis_vaccine4_date.setText("1");
		vare_poliomyelitis_vaccine4_position.setText("1");
		vare_poliomyelitis_vaccine4_batch_num.setText("1");
		vare_poliomyelitis_vaccine4_doctor.setText("1");
		vare_poliomyelitis_vaccine4_remark.setText("1");
		vare_DPT1_date.setText("1");
		vare_DPT1_position.setText("1");
		vare_DPT1_batch_num.setText("1");
		vare_DPT1_doctor.setText("1");
		vare_DPT1_remark.setText("1");
		vare_DPT2_date.setText("1");
		vare_DPT2_position.setText("1");
		vare_DPT2_batch_num.setText("1");
		vare_DPT2_doctor.setText("1");
		vare_DPT2_remark.setText("1");
		vare_DPT3_date.setText("1");
		vare_DPT3_position.setText("1");
		vare_DPT3_batch_num.setText("1");
		vare_DPT3_doctor.setText("1");
		vare_DPT3_remark.setText("1");
		vare_DPT4_date.setText("1");
		vare_DPT4_position.setText("1");
		vare_DPT4_batch_num.setText("1");
		vare_DPT4_doctor.setText("1");
		vare_DPT4_remark.setText("1");
		vare_white_broken_vaccine_date.setText("1");
		vare_white_broken_vaccine_position.setText("1");
		vare_white_broken_vaccine_batch_num.setText("1");
		vare_white_broken_vaccine_doctor.setText("1");
		vare_white_broken_vaccine_remark.setText("1");
		vare_leprosy_vaccine_date.setText("1");
		vare_leprosy_vaccine_position.setText("1");
		vare_leprosy_vaccine_batch_num.setText("1");
		vare_leprosy_vaccine_doctor.setText("1");
		vare_leprosy_vaccine_remark.setText("1");
		vare_MMR_vaccine1_date.setText("1");
		vare_MMR_vaccine1_position.setText("1");
		vare_MMR_vaccine1_batch_num.setText("1");
		vare_MMR_vaccine1_doctor.setText("1");
		vare_MMR_vaccine1_remark.setText("1");
		vare_MMR_vaccine2_date.setText("1");
		vare_MMR_vaccine2_position.setText("1");
		vare_MMR_vaccine2_batch_num.setText("1");
		vare_MMR_vaccine2_doctor.setText("1");
		vare_MMR_vaccine2_remark.setText("1");
		vare_MMR_vaccine_date.setText("1");
		vare_MMR_vaccine_position.setText("1");
		vare_MMR_vaccine_batch_num.setText("1");
		vare_MMR_vaccine_doctor.setText("1");
		vare_MMR_vaccine_remark.setText("1");
		vare_measles_vaccine1_date.setText("1");
		vare_measles_vaccine1_position.setText("1");
		vare_measles_vaccine1_batch_num.setText("1");
		vare_measles_vaccine1_doctor.setText("1");
		vare_measles_vaccine1_remark.setText("1");
		vare_measles_vaccine2_date.setText("1");
		vare_measles_vaccine2_position.setText("1");
		vare_measles_vaccine2_batch_num.setText("1");
		vare_measles_vaccine2_doctor.setText("1");
		vare_measles_vaccine2_remark.setText("1");
		v.saveVaccinationRecordView();
		vare_hepatitis_b_vaccine1_date.setText("");
		vare_hepatitis_b_vaccine1_position.setText("");
		vare_hepatitis_b_vaccine1_batch_num.setText("");
		vare_hepatitis_b_vaccine1_doctor.setText("");
		vare_hepatitis_b_vaccine1_remark.setText("");
		vare_hepatitis_b_vaccine2_date.setText("");
		vare_hepatitis_b_vaccine2_position.setText("");
		vare_hepatitis_b_vaccine2_batch_num.setText("");
		vare_hepatitis_b_vaccine2_doctor.setText("");
		vare_hepatitis_b_vaccine2_remark.setText("");
		vare_hepatitis_b_vaccine3_date.setText("");
		vare_hepatitis_b_vaccine3_position.setText("");
		vare_hepatitis_b_vaccine3_batch_num.setText("");
		vare_hepatitis_b_vaccine3_doctor.setText("");
		vare_hepatitis_b_vaccine3_remark.setText("");
		vare_BCG_vaccine_date.setText("");
		vare_BCG_vaccine_position.setText("");
		vare_BCG_vaccine_batch_num.setText("");
		vare_BCG_vaccine_doctor.setText("");
		vare_BCG_vaccine_remark.setText("");
		vare_poliomyelitis_vaccine1_date.setText("");
		vare_poliomyelitis_vaccine1_position.setText("");
		vare_poliomyelitis_vaccine1_batch_num.setText("");
		vare_poliomyelitis_vaccine1_doctor.setText("");
		vare_poliomyelitis_vaccine1_remark.setText("");
		vare_poliomyelitis_vaccine2_date.setText("");
		vare_poliomyelitis_vaccine2_position.setText("");
		vare_poliomyelitis_vaccine2_batch_num.setText("");
		vare_poliomyelitis_vaccine2_doctor.setText("");
		vare_poliomyelitis_vaccine2_remark.setText("");
		vare_poliomyelitis_vaccine3_date.setText("");
		vare_poliomyelitis_vaccine3_position.setText("");
		vare_poliomyelitis_vaccine3_batch_num.setText("");
		vare_poliomyelitis_vaccine3_doctor.setText("");
		vare_poliomyelitis_vaccine3_remark.setText("");
		vare_poliomyelitis_vaccine4_date.setText("");
		vare_poliomyelitis_vaccine4_position.setText("");
		vare_poliomyelitis_vaccine4_batch_num.setText("");
		vare_poliomyelitis_vaccine4_doctor.setText("");
		vare_poliomyelitis_vaccine4_remark.setText("");
		vare_DPT1_date.setText("");
		vare_DPT1_position.setText("");
		vare_DPT1_batch_num.setText("");
		vare_DPT1_doctor.setText("");
		vare_DPT1_remark.setText("");
		vare_DPT2_date.setText("");
		vare_DPT2_position.setText("");
		vare_DPT2_batch_num.setText("");
		vare_DPT2_doctor.setText("");
		vare_DPT2_remark.setText("");
		vare_DPT3_date.setText("");
		vare_DPT3_position.setText("");
		vare_DPT3_batch_num.setText("");
		vare_DPT3_doctor.setText("");
		vare_DPT3_remark.setText("");
		vare_DPT4_date.setText("");
		vare_DPT4_position.setText("");
		vare_DPT4_batch_num.setText("");
		vare_DPT4_doctor.setText("");
		vare_DPT4_remark.setText("");
		vare_white_broken_vaccine_date.setText("");
		vare_white_broken_vaccine_position.setText("");
		vare_white_broken_vaccine_batch_num.setText("");
		vare_white_broken_vaccine_doctor.setText("");
		vare_white_broken_vaccine_remark.setText("");
		vare_leprosy_vaccine_date.setText("");
		vare_leprosy_vaccine_position.setText("");
		vare_leprosy_vaccine_batch_num.setText("");
		vare_leprosy_vaccine_doctor.setText("");
		vare_leprosy_vaccine_remark.setText("");
		vare_MMR_vaccine1_date.setText("");
		vare_MMR_vaccine1_position.setText("");
		vare_MMR_vaccine1_batch_num.setText("");
		vare_MMR_vaccine1_doctor.setText("");
		vare_MMR_vaccine1_remark.setText("");
		vare_MMR_vaccine2_date.setText("");
		vare_MMR_vaccine2_position.setText("");
		vare_MMR_vaccine2_batch_num.setText("");
		vare_MMR_vaccine2_doctor.setText("");
		vare_MMR_vaccine2_remark.setText("");
		vare_MMR_vaccine_date.setText("");
		vare_MMR_vaccine_position.setText("");
		vare_MMR_vaccine_batch_num.setText("");
		vare_MMR_vaccine_doctor.setText("");
		vare_MMR_vaccine_remark.setText("");
		vare_measles_vaccine1_date.setText("");
		vare_measles_vaccine1_position.setText("");
		vare_measles_vaccine1_batch_num.setText("");
		vare_measles_vaccine1_doctor.setText("");
		vare_measles_vaccine1_remark.setText("");
		vare_measles_vaccine2_date.setText("");
		vare_measles_vaccine2_position.setText("");
		vare_measles_vaccine2_batch_num.setText("");
		vare_measles_vaccine2_doctor.setText("");
		vare_measles_vaccine2_remark.setText("");
	///////////////////////////////////////////////////////////////////////////	
		
		
		assertEquals(vare_hepatitis_b_vaccine1_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_date.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_position.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_hepatitis_b_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_date.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_position.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_BCG_vaccine_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine3_remark.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_date.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_position.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_batch_num.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_doctor.getText().toString(),"");
		assertEquals(vare_poliomyelitis_vaccine4_remark.getText().toString(),"");
		assertEquals(vare_DPT1_date.getText().toString(),"");
		assertEquals(vare_DPT1_position.getText().toString(),"");
		assertEquals(vare_DPT1_batch_num.getText().toString(),"");
		assertEquals(vare_DPT1_doctor.getText().toString(),"");
		assertEquals(vare_DPT1_remark.getText().toString(),"");
		assertEquals(vare_DPT2_date.getText().toString(),"");
		assertEquals(vare_DPT2_position.getText().toString(),"");
		assertEquals(vare_DPT2_batch_num.getText().toString(),"");
		assertEquals(vare_DPT2_doctor.getText().toString(),"");
		assertEquals(vare_DPT2_remark.getText().toString(),"");
		assertEquals(vare_DPT3_date.getText().toString(),"");
		assertEquals(vare_DPT3_position.getText().toString(),"");
		assertEquals(vare_DPT3_batch_num.getText().toString(),"");
		assertEquals(vare_DPT3_doctor.getText().toString(),"");
		assertEquals(vare_DPT3_remark.getText().toString(),"");
		assertEquals(vare_DPT4_date.getText().toString(),"");
		assertEquals(vare_DPT4_position.getText().toString(),"");
		assertEquals(vare_DPT4_batch_num.getText().toString(),"");
		assertEquals(vare_DPT4_doctor.getText().toString(),"");
		assertEquals(vare_DPT4_remark.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_date.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_position.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_white_broken_vaccine_remark.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_date.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_position.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_leprosy_vaccine_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine2_remark.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_date.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_position.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_batch_num.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_doctor.getText().toString(),"");
		assertEquals(vare_MMR_vaccine_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine1_remark.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_date.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_position.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_batch_num.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_doctor.getText().toString(),"");
		assertEquals(vare_measles_vaccine2_remark.getText().toString(),"");
		v.selectData();
		v.initVaccinationRecordView();
		assertEquals(vare_hepatitis_b_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_position.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine2_remark.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_date.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_position.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_batch_num.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_doctor.getText().toString(),"1");
		assertEquals(vare_hepatitis_b_vaccine3_remark.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_date.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_position.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_BCG_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine2_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine3_remark.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_date.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_position.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_batch_num.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_doctor.getText().toString(),"1");
		assertEquals(vare_poliomyelitis_vaccine4_remark.getText().toString(),"1");
		assertEquals(vare_DPT1_date.getText().toString(),"1");
		assertEquals(vare_DPT1_position.getText().toString(),"1");
		assertEquals(vare_DPT1_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT1_doctor.getText().toString(),"1");
		assertEquals(vare_DPT1_remark.getText().toString(),"1");
		assertEquals(vare_DPT2_date.getText().toString(),"1");
		assertEquals(vare_DPT2_position.getText().toString(),"1");
		assertEquals(vare_DPT2_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT2_doctor.getText().toString(),"1");
		assertEquals(vare_DPT2_remark.getText().toString(),"1");
		assertEquals(vare_DPT3_date.getText().toString(),"1");
		assertEquals(vare_DPT3_position.getText().toString(),"1");
		assertEquals(vare_DPT3_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT3_doctor.getText().toString(),"1");
		assertEquals(vare_DPT3_remark.getText().toString(),"1");
		assertEquals(vare_DPT4_date.getText().toString(),"1");
		assertEquals(vare_DPT4_position.getText().toString(),"1");
		assertEquals(vare_DPT4_batch_num.getText().toString(),"1");
		assertEquals(vare_DPT4_doctor.getText().toString(),"1");
		assertEquals(vare_DPT4_remark.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_date.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_position.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_white_broken_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_date.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_position.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_leprosy_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_position.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine2_remark.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_date.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_position.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_batch_num.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_doctor.getText().toString(),"1");
		assertEquals(vare_MMR_vaccine_remark.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_date.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_batch_num.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_doctor.getText().toString(),"1");
		assertEquals(vare_measles_vaccine1_remark.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_date.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_position.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_batch_num.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_doctor.getText().toString(),"1");
		assertEquals(vare_measles_vaccine2_remark.getText().toString(),"1");

	}
	public void tearDown(){
		VaccinationRecord vr=new VaccinationRecord(getInstrumentation().getContext());
		vr.deleteVaccinationRecord(1234);
	}

}
